package labels

import (
	"github.com/gin-gonic/gin"
)

func Register(api *gin.RouterGroup) {
	tg := api.Group("/labels")
	{
		tg.GET("", Search)
		tg.GET("/:id", Get)
		tg.POST("", Create)
		tg.PUT("/:id", Update)
		tg.DELETE("/:id", Delete)
	}
}
